﻿using OpenFileTransfer.Wpf.Models;

namespace OpenFileTransfer.Wpf.Services
{
    public interface IConfigService
    {
        int UdpPort { get; }
        int UdpBroadcastInterval { get; }
        WebSocketServerPara WebSocketServerInfo { get; }

        /// <summary>
        /// APP数据文件夹
        /// </summary>
        string AppDataDirectory { get; }

        /// <summary>
        /// 本地文件夹
        /// </summary>
        string LocalFileDirectory { get; }

        void LoadConfig(string configName);
    }
}
